package cn.xiaopengstack.domain.activity.model.entity;

import cn.xiaopengstack.domain.strategy.model.entity.UserEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author jiangyangang
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CreatePartakeEntity implements Serializable {

    /**
     * 用户ID
     */
    private UserEntity user;

    /**
     * 活动ID
     */
    private Long activityId;

    /**
     * 抽奖的时间
     */
    private Date time;
}
